package cn.itcast.usermanager.service;

import java.util.List;

import cn.itcast.usermanager.pojo.EasyUIResult;
import cn.itcast.usermanager.pojo.User;

public interface UserService {

	public List<User> queryUserAll();

	public EasyUIResult queryByPage(int pageNum, int pageSize);
	
	public void addUser(User user1,User user2);

	public boolean save(User user) throws Exception;

	public Boolean delete(List<Object> ids) throws Exception;

	public Boolean update(User user) throws Exception;
	
	public User queryUserById(Long id);
	

}
